home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 003 / dir2text.arc / DIR2TEXT.DOC < prev   
Encoding:
Text File  |  1985-08-11  |  4.0 KB  |  68 lines

  1. I got tired of some of the limitations of the various diskette managers and
  2. decided to write one without those limitations.  On the way to the forum,
  3. however, I decided that it was stupid to create a special-purpose database
  4. program when I already had a perfectly suitable general-purpose system,
  5. KnowledgeMan.  The idea is that the database program will provide me with 
  6. the all of the functions usually ascribed to a diskette management program,
  7. and many more besides.  The database program will sort or re-index much more
  8. quickly than most diskette managers, and will let me add any fields (such as
  9. descriptions) that I want.  With a database program, I control the format of
  10. the reports as well.
  11.  
  12. The only problem with using Kman (or any other database) to manage a list of
  13. diskette files is that of getting the file names into the database.  This 
  14. program is my modest solution to that problem.
  15.  
  16. LISTDIR.COM will create a text file containing the various fields of the 
  17. diskette directory in a quoted, comma delimited format.  That is, each field
  18. such as name, extention and so forth is listed on one line, separated by
  19. commas and enclosed in double quotes.  For example, this is the file created
  20. from one of my diskettes:
  21.  
  22.     "ARC     ","ARC","  85436","17:55:17","06/21/1985","PD-0093"
  23.     "LUD106  ","LBR","   3584","02:29:28","07/15/1985","PD-0093"
  24.     "HACKER  ","TXT","   5632","02:01:10","07/15/1985","PD-0093"
  25.     "DISPIO  ","LBR","  34688","02:07:19","07/15/1985","PD-0093"
  26.     "SORTF20 ","LBR","   4736","02:33:27","07/15/1985","PD-0093"
  27.     "CACHE   ","LBR","   1024","11:37:21","07/18/1985","PD-0093"
  28.     "LIST552 ","LBR","   9984","00:54:05","07/22/1985","PD-0093"
  29.     "QMDM107 ","TXT","   2688","02:54:22","07/18/1985","PD-0093"
  30.     "QMDM107 ","LQR","  84224","03:40:24","07/18/1985","PD-0093"
  31.     "QMDMRCFG","COM","  14464","03:13:26","07/18/1985","PD-0093"
  32.     "C-STANDA","RQ ","  36973","00:39:26","07/20/1985","PD-0093"
  33.     "USRSYSOP","OFR","   1280","16:52:24","07/21/1985","PD-0093"
  34.     "ARC420  ","COM","  29568","22:17:06","07/24/1985","PD-0093"
  35.     "ENVR310 ","DOC","   1920","22:20:05","07/24/1985","PD-0093"
  36.     "LUU205  ","HLP","   4620","22:48:23","07/24/1985","PD-0093"
  37.     "COMRING1","ARC","   6784","23:40:22","07/24/1985","PD-0093"
  38.     "DFIELD  ","LBR","  16000","01:31:23","07/25/1985","PD-0093"
  39.     
  40. This format is one which may readily be converted to a database file by most
  41. of the major database programs on the market today (including Lotus 1-2-3).
  42.  
  43. The last field (PD-0093) is the volume label, which is required for LISTDIR
  44. to work properly.  If your diskettes do not have volume labels, use a utility
  45. such as CV to add them before using this program.
  46.  
  47. LISTDIR opens the specified output file for append, so if the file already
  48. exists, the new directory information will be added to the end of it.
  49.  
  50. LISTDIR does not sort the directory information as your database program will
  51. do this for you.
  52.  
  53. Source code has been provide so that you may modify the format of the output
  54. file if you wish.  The source file may not be of much use, however, due to
  55. several functions (such as findfirst) which live in my private library.  These
  56. functions will have to be written before compilation.  LISTDIR was written
  57. (on the spur of the moment) in Lattice C, ver 2.15a.
  58.  
  59. If you find this program of use, the author (that's me) requests a contribution
  60. in the amount of $5.00.  Contributions, bug reports (ugh), flames or offers of 
  61. matrimony to:
  62.  
  63.                     Leroy Casterline
  64.                     Casterline Computer Consulting
  65.                     2507 West Laurel Street
  66.                     Fort Collins, Colorado  80521
  67.  
  68.